home *** CD-ROM | disk | FTP | other *** search
- Path: hal.COM!spike
- From: spike@hal.com (Spike White)
- Newsgroups: comp.lang.c++
- Subject: Re: Q: Template forward declare.
- Date: 5 Mar 1996 22:38:32 GMT
- Organization: HAL Computer Systems, Inc.
- Message-ID: <4hifp8$7ih@news.hal.com>
- References: <312BB621.41C6@fumin.nintendo.co.jp>
- NNTP-Posting-Host: zarathustra.hal.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Giles Goddard (giles@fumin.nintendo.co.jp) wrote:
- : Help.
- : Does anybody know how to forward declare a class template?
- : something equivelent to:
-
- : class Foo;
-
- I have a book (C++ primer, Lippmann) that gives it as:
-
- template <class T>
- class Foo;
-
- ...
-
- template <class T>
- class Foo {
- ...
- };
-
-
- --
- Spike White | spike@hal.com | Biker Nerds
- HaL Software Systems | '87 BMW K75S, DoD #1347 | From HaL
- Austin, TX | http://www.halsoft.com/users/spike/index.html
- Disclaimer: HaL, want me to speak for you? No, Dave...
-